package com.clinic.controller;

import com.clinic.entity.Mylog;
import com.clinic.service.MyLogService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@Slf4j
public class MyLogController {
@Autowired
    MyLogService myLogService;
    public void showinfo(Mylog mylog){
        myLogService.addLog(mylog);
    }
}
